package com.easysoft.framework.article.mapper;

import com.easysoft.framework.article.model.SysArticleCategoryQuery;
import com.easysoft.framework.article.model.SysArticleCategoryView;
import com.easysoft.framework.beans.Page;
import com.easysoft.framework.stereotype.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by try on 2017/7/6.
 */
@MyBatisRepository("mapper.SysArticleCategoryMapperExtd")
public interface SysArticleCategoryMapperExtd extends SysArticleCategoryMapper{


    public  int selectSysArticleCategoryListCount(@Param("query") SysArticleCategoryQuery query);

    public List<SysArticleCategoryView> selectSysArticleCategoryListByPage(@Param("page") Page page, @Param("query") SysArticleCategoryQuery query);

    List<SysArticleCategoryView> selectAllCategory();
}
